<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3c.org/TR/1999/REC-html401-19991224/loose.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<title>Tipask's Control Panel</title>
<meta http-equiv="Content-Type" content="text/html; charset={APP_CHARSET}">
<link media="all" type="text/css" href="css/admin/admincp.css" rel="stylesheet"/>

</head>

<body>

<div id="append">
</div>

<div class="container">

	<!--{if isset($message)}-->
		<!--{eval $type=isset($type)?$type:'correctmsg'; }-->
		<div class="{$type}"><p>{$message}</p></div>
	<!--{/if}-->
	
	<div class="mainbox nomargin">
		<form action="index.php?c=admin_setting&a=base" method="post">
			<table class="opt">
				<tr>
					<th colspan="2">网站名称:</th>
				</tr>
				<tr>
					<td><input class="txt" value="{$setting['site_name']}" name="site_name"></td>
					<td>网站名称，将显示在页面Title处。</td>
				</tr>
				<tr>
					<th colspan="2">网站备案号:</th>
				</tr>
				<tr>
					<td><input class="txt" value="{$setting['site_icp']}" name="site_icp"></td>
					<td>格式类似“京ICP证030173号”，它将显示在页面底部，没有请留空。</td>
				</tr>

				<tr>
					<th colspan="2">默认模板:</th>
				</tr>
				<tr>
					<td>
					<select name="tpl_dir" >
					<!--{loop $tpllist  $value}-->
						<option value="{$value}" <!--{if $value==$setting['tpl_dir']}--> selected <!--{/if}--> >{$value}</option>
					<!--{/loop}-->
					</select>
					</td>
					<td>设置网站的的默认模板。</td>
				</tr>

				<tr>
					<th colspan="2">网站统计代码:</th>
				</tr>
				<tr>
					<td><textarea class="area" name="site_statcode"  style="height:100px;width:300px;">{$setting['site_statcode']}</textarea></td>
					<td valign="top">页面底部可以显示第三方统计，如google统计代码或者51la统计等。</td>
				</tr>
	 
				<tr>
					<th colspan="2">首页缓存时间（分钟）:</th>
				</tr>
				<tr>
					<td><input class="txt" value="{$setting['index_life']}" name="index_life"></td>
					<td>如果设置为0，表示不缓存首页。</td>
				</tr>
		 
		 
			</table>
			<div class="opt">
				<input class="btn" tabindex="3" type="submit" value=" 提 交 " name="submit"></div>
		</form>
	</div>
</div>

</body>

</html>
